package com.atguigu.yygh.msm.utils;

import com.atguigu.yygh.common.utils.HttpUntils;
import org.apache.ibatis.builder.InitializingObject;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ConstantPropertiesUtils implements InitializingBean {//实现接口的目的设置之后方法执行

    private String user="SRJK18512";


    private String pwd="lzq@1102";


    public static String USER;
    public static String PWD;
    @Override
    public void afterPropertiesSet() {
                USER=user;
                PWD=pwd;
    }
}
